package com.woniuxy.service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;


import com.woniuxy.entity.ChooseCourse;
import com.woniuxy.entity.CoachFreeday;
import com.woniuxy.entity.CoachInfo;
import com.woniuxy.entity.Course;
import com.woniuxy.entity.Focus;
import com.woniuxy.entity.GymCoach;
import com.woniuxy.entity.GymInfo;
import com.woniuxy.entity.Style;
import com.woniuxy.entity.User;
/**
 * 场馆详细信息业务
 * 
 * @author 陈一珩
 *
 */
public interface GymInfoService {
	//通过userId查询场馆信息
	public GymInfo selectAllGymInfoByUserId(Integer userId);
	//查询场馆签约的全部教练
	public List<CoachInfo> selectAllGymCoachByUserId(Integer userId);
	
	//拒绝场馆
	public Integer updateGymCoachNoSign(Integer gymId,Integer coachId);
	//和场馆签约
	public Integer updateGymCoachSign(Integer gymId,Integer coachId);
	//修改场馆信息
	public Integer updateGymInfo(GymInfo gymInfo,User user);
	//添加场馆图片
	public Integer addGymImg(String imgName);
	//显示首页四个教练
	public List<CoachInfo> selectMySginCoachesByLimit4(Integer id);
	//显示申请签约的教练
	public List<CoachInfo> myPreEmp(Integer id);
	//和教练解约
	public Integer deleteSginCoach(Integer id, Integer coachId);
	//查找关注我的人
	public List<Focus> focusMe(Integer id);
	//给签约教练选课
	public Integer arrangeCourse(ChooseCourse chooseCourse);
	//所有流派
	public List<Style> allStyles();
	//所有课程
	public List<Course> allCourses();
	//该教练所有空闲时间
	public List<CoachFreeday> freeDayByCoachId(Long id);
	//场馆所选的所有课程
	List<ChooseCourse> chooseCoursesById(Long id);
}
